import { API_CONFIG } from '../../config'
const baseURL = API_CONFIG.productionUrl

export default [
  {
    name: 'getSchedule',
    baseURL,
    path: 'api/school-service-ms/user/course',
    method: 'post',
    desc: '获取课程表信息',
  },
  {
    name: 'getStuGrade',
    baseURL,
    path: 'api/school-service-ms/user/studentScore',
    method: 'post',
    desc: '获取学生成绩查询',
  },
  {
    name: 'getStuExam',
    baseURL,
    path: 'api/school-service-ms/user/examination',
    method: 'post',
    desc: '获取学生考试查询',
  },
  {
    name: 'StudentScoreget',
    baseURL,
    path: 'api/school-service-ms/StudentScore/get',
    method: 'post',
    desc: '获取超越课程表',
  },

  {
    name: 'getStuCet',
    baseURL,
    path: 'api/school-service-ms/user/cet',
    method: 'post',
    desc: '获取学生四六级查询',
  },
  {
    name: 'refreshSchedule',
    baseURL,
    path: 'api/school-service-ms/user/refreshCourse',
    method: 'post',
    desc: '刷新课程表',
  },
  /**
   * @see 查询成绩的页面
   */
  {
    name: 'getEnableBannerList',
    baseURL,
    path: 'api/banner/getEnableBannerList',
    method: 'post',
    desc: '获取轮播图',
  },
  {
    name: 'topOrdersGet',
    baseURL,
    path: 'api/order-service-ms/order/topOrdersGet',
    method: 'post',
    desc: '获取最新下单记录列表',
  },
  {
    name: 'addBannerHti',
    baseURL,
    path: 'api/banner/addBannerHti',
    method: 'post',
    desc: '轮播图增加点击记录',
  },
  /**
   * @see 校内课学生接口
   */
  {
    name: 'getStuCourseInfo',
    baseURL,
    path: 'api/school-service-ms/studentAttendanceCourse',
    method: 'post',
    desc: '获取学生课程',
  },
  {
    name: 'getAuthorizationCourse',
    baseURL,
    path: 'api/school-service-ms/authCourse/getAuthorizationCourse',
    method: 'post',
    desc: '获取授权课程列表',
  },
  {
    name: 'signIn',
    baseURL,
    path: 'api/school-service-ms/attSchool/sign',
    method: 'post',
    desc: '签到',
  },
  /**
   * @see 校内课教师接口
   */
  {
    name: 'getTchCourseInfo',
    baseURL,
    path: 'api/school-service-ms/teacherAttendanceCourse',
    method: 'post',
    desc: '获取教师课程',
  },
  {
    name: 'startAttendance',
    baseURL,
    path: 'api/school-service-ms/attSchool/startSign',
    method: 'post',
    desc: '开启考勤',
  },
  {
    name: 'endAttendance',
    baseURL,
    path: 'api/school-service-ms/attSchool/endSign',
    method: 'post',
    desc: '结束考勤',
  },

  /**
   * @see 考勤记录模块（教师）
   */
  {
    name: 'getAttendanceStartup',
    baseURL,
    path: 'api/school-service-ms/record/getAttendanceStartup',
    method: 'post',
    desc: '获取开启考勤记录',
  },
  {
    name: 'getAttendance',
    baseURL,
    path: 'api/school-service-ms/record/getAttendance',
    method: 'post',
    desc: '获取学生考勤详情',
  },
  {
    name: 'updateAttendanceStatus',
    baseURL,
    path: 'api/school-service-ms/record/updateAttendanceStatus',
    method: 'post',
    desc: '更新考勤状态',
  },
  {
    name: 'updateAttendanceVaild',
    baseURL,
    path: 'api/school-service-ms/record/updateAttendanceVaild',
    method: 'post',
    desc: '更新考勤有效状态（是否有效）',
  },

  /**
   * @see 考勤记录模块（学生）
   */
  {
    name: 'getStudentAttendanceCount',
    baseURL,
    path: 'api/school-service-ms/record/getStudentAttendanceCount',
    method: 'post',
    desc: '获取学生考勤记录',
  },
  {
    name: 'getStudentAttendance',
    baseURL,
    path: 'api/school-service-ms/record/getStudentAttendance',
    method: 'post',
    desc: '获取学生考勤详情',
  },

  /**
   * @see 老师端授权管理接口
   */
  {
    name: 'getAuthorizationStu',
    baseURL,
    path: 'api/school-service-ms/authCourse/getAuthorizationStudent',
    method: 'post',
    desc: '获取授权学生列表',
  },
  {
    name: 'addAuthorizationStuCourse',
    baseURL,
    path: 'api/school-service-ms/authCourse/addAuthorizationStudentCourse',
    method: 'post',
    desc: '添加授权学生课程',
  },
  {
    name: 'delAuthorizationStuCourse',
    baseURL,
    path: 'api/school-service-ms/authCourse/delAuthorizationStudentcourse',
    method: 'post',
    desc: '删除授权学生课程',
  },
]
